package com.drama.api.sys.video.domain.po;

import com.drama.api.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Table;
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "video_task")
public class VideoTaskPO  extends BaseEntity {

    /**
     * 任务状态 1 进行中 2 成功 3 失败
     */
    @Column(name = "task_state")
    private Integer taskState;

    @Column(name = "video_id")
    private String videoId;

    @Column(name = "dramas_id")
    private String dramasId;

    /**
     * 任务类型 1 视频转码 2 片花转码
     */
    @Column(name = "task_type")
    private Integer taskType;

    @Column(name = "task_id")
    private String taskId;

}